package com.gcms.service;

import com.gcms.pojo.Search;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface SearchService {
    Search getByContent(Search search);

    void update(Search search);

    void save(Search search);

    Object getAllByLimit(Search search);

    List<Search> newSearch(int i);

    List<Search> top(int i);

    List<Map<String, Object>> tjSearch();
}
